﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using DomainDriver.DomainModeling.Example.DomainObjects;
using DomainDriver.DomainModeling.GenericUnitTesting;

namespace AutomotivePricingModel.UnitTests.DomainObjects
{
    [TestFixture]
    public class SingletonDomainObjectTests : DomainObjectTestFixture<Guid, SingletonDomainObject>
    {
        protected override SingletonDomainObject CreateUniqueDomainObject()
        {
            return new SingletonDomainObject();
        }

        protected override ICollection<DomainObjectModifier<Guid, SingletonDomainObject>> GetDomainObjectModifiers()
        {
            List<DomainObjectModifier<Guid, SingletonDomainObject>> modifiers = new List<DomainObjectModifier<Guid, SingletonDomainObject>>();
            modifiers.Add((SingletonDomainObject domainObject) => domainObject.SelectedEnumerationDomainObjectId = EnumerationValue.Option3);
            modifiers.Add((SingletonDomainObject domainObject) => domainObject.SelectedEnumerationDomainObjectId = null);
            return modifiers;
        }

        [Test]
        public override void VerifyDomainObjectFunctionality()
        {
            base.VerifyDomainObjectFunctionality();
        }
    }
}